package com.czmh.etc.onlinepubsys.entity.mingchuang;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Setter@Getter
@TableName("mingchuang_currentContext")
public class CurrentContext {
    @TableId
    private String id;

    @TableField("businessFlowNo")
    private String businessFlowNo;

    @TableField("user_id")
    private String userId;

    @TableField("transNo")
    private String transNo;

    @TableField("signChannelId")
    private String signChannelId;

    @TableField("orderNo")
    private String orderNo;

    @TableField("fundAccountId")
    private String fundAccountId;

    @TableField("apply_id")
    private String applyId;

    @TableField("car_id")
    private String carId;

    @TableField("etcCardNo")
    private String etcCardNo;

    @TableField("obuId")
    private String obuId;

    @TableField("beginDate")
    private String beginDate;

    @TableField("endDate")
    private String endDate;

    @TableField("begin_time")
    private String beginTime;//ETC卡开始时间

    @TableField("end_time")
    private String endTime;//ETC卡结束时间

    @TableField("state")
    private Integer state; //0-已下单未付款 1-已付款 2-已提交申请 3-已添加车辆信息 4-已银行短信签约 5-激活完成 6-取消订单

    @TableField("type")
    private Integer type; //0-铭创 1-上海

    @TableField("etc_user_type")
    private Integer etcUserType; //0-个人 1-单位

    @TableField("json_data")
    private String jsonData; //第三方接口请求和返回相关数据

    @TableField("delete_flag")
    private Integer deleteFlag; //0.未删除 1.删除

    @TableField("cs_user_no")
    private String csUserNo;

    @ApiModelProperty("订单支付模式：0先支付后提交信息，1先提交信息后支付")
    @TableField("pay_mode")
    private Integer payMode;

    @ApiModelProperty("订单渠道来源")
    @TableField("channel")
    private String channel;

    @TableField("userType")
    private Integer userType; //0-个人 1-单位
}
